package org.dromara.apartment.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.apartment.domain.FacilityInfo;
import org.dromara.apartment.domain.vo.FacilityInfoVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 配套信息Mapper接口
 *
 * @author ckj
 * @date 2025-06-13
 */
public interface FacilityInfoMapper extends BaseMapperPlus<FacilityInfo, FacilityInfoVo> {
    /**
     * 查询公寓配套列表
     * @param id
     * @return
     */
    List<FacilityInfoVo> selectListByApartmentId(@Param("id") Long id);


    /**
     * 查询房间配套列表
     * @param id
     * @return
     */
    List<FacilityInfoVo> selectListByRoomId(@Param("id") Long id);
}
